#!coding=utf-8
'''
Created on 2015-12-14

@author: Administrator
'''
from django.contrib import admin
from wujiangzto.models import PackageInfo, StoreInfo, postadmin, CustPostInfo,\
    CustPostAdr, Town, Suggest, News, Transfee, Advantage
    
class postadmin_admin(admin.ModelAdmin):
    list_display=('wx_id','name','adminsts')
#     list_filter=()
#     search_fields=()

class CustPostInfo_admin(admin.ModelAdmin):
    list_display=('wx_id','orderid','P_custname','ordersts','modified')
    list_filter=('ordersts',)
#     search_fields=()

class Transfee_admin(admin.ModelAdmin):
    list_display=('province','first_weight_fee','goon_weight_fee')
#     search_fields=()

admin.site.register(PackageInfo)
admin.site.register(Town)
admin.site.register(StoreInfo)
admin.site.register(postadmin,postadmin_admin)
admin.site.register(CustPostInfo,CustPostInfo_admin)
admin.site.register(CustPostAdr)
admin.site.register(Suggest)
admin.site.register(News)
admin.site.register(Transfee,Transfee_admin)
admin.site.register(Advantage)

